#include "pismonitor.h"
#include "ui_pismonitor.h"
#include <QDebug>

PISMonitor::PISMonitor(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::PISMonitor)
{
    ui->setupUi(this);
}

PISMonitor::~PISMonitor()
{
    delete ui;
}

QPoint PISMonitor::pismonitor_window_localpos()
{
    QPoint point(4,0);
    return point;
}

void PISMonitor::setPisMonitor_window_globalpos(QPoint pos)
{
    qDebug()<<"pis monitor window pos ="<<pos;
    m_PisMonitor_Window_GlobalPos.setX(pos.x());
    m_PisMonitor_Window_GlobalPos.setY(pos.y());
}
